package com.zzx.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzx.business.domain.BusinessProduct;
import com.zzx.business.vo.BusinessProductVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 货物信息Mapper接口
 *
 * @author Z、zx
 * @date 2024-08-21
 */
public interface BusinessProductMapper extends BaseMapper<BusinessProduct> {

    Page<BusinessProductVo> queryList(Page<?> page, @Param("entity") BusinessProductVo entity);

    List<BusinessProductVo> queryList(@Param("entity") BusinessProductVo entity);

    BusinessProductVo queryById(@Param("id") Long id);

}
